home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
ftp.cs.arizona.edu
/
ftp.cs.arizona.edu.tar
/
ftp.cs.arizona.edu
/
icon
/
newsgrp
/
group93b.txt
/
000041_icon-group-sender _Wed Apr 28 23:23:02 1993.msg
< prev
next >
Wrap
Internet Message Format
|
1993-06-16
|
1KB
Received: by cheltenham.cs.arizona.edu; Thu, 29 Apr 1993 05:50:30 MST
Date: Wed, 28 Apr 93 23:23:02 PDT
From: John Paolillo <johnp@CSLI.Stanford.EDU>
To: icon-group@cs.arizona.edu
Subject: "What cool things..."
Message-Id: <CMM.0.90.4.736064582.johnp@Csli.Stanford.EDU>
Status: R
Errors-To: icon-group-errors@cs.arizona.edu
pat someone writes:
>
My question, is? WHat really cool things have been done in ICON?
and how much code did it take to implement them?
pat
<
As my first real project in Icon, I wrote a program that could
parse some Icon(-like) expressions, and execute them. The code
was all of one page in length. I used this to learn about Icon
expressions that I wanted to know more about, and to have fun
with long-integer arithmetic (like 345 raised to the 24th). I'd
like to know if a rank beginner like me could expect to do as
much in any other language.
Icon is such a powerful language, and I bet we could really see that
if we held an informal "one-liner" contest (Heizer software does this
for their compiled HyperTalk product). The rules are simple: you
are allowed one line of code between your procedure declaration and
the "end" statement. Within that, you can do anything you like.
Anybody know any good one-liners?
John C. Paolillo
University of Texas at Arlington